package com.res.simulator.view;

import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;

public class ConsumerTemplateSearchResultsView {

    private String apiId;

    private String apiName;

    private String packageStructure;

    private String templateId;

    private Date saveDate;

    private String content;

    private String formatedDate;

    public String getFormatedDate() {

        return formatedDate;
    }

    public void setFormatedDate(String formatedDate) {

        this.formatedDate = formatedDate;
    }

    public String getContent() {

        return content;
    }

    public void setContent(String content) {

        this.content = content;
    }

    public Date getSaveDate() {

        return saveDate;
    }

    public void setSaveDate(Date saveDate) {

        this.saveDate = saveDate;
        SimpleDateFormat df = new SimpleDateFormat("dd MMMM,yyyy-hh:mm:ss:a");
        this.formatedDate = df.format(saveDate);
    }

    public String getTemplateId() {

        return templateId;
    }

    public void setTemplateId(String templateId) {

        this.templateId = templateId;
    }

    public String getApiId() {

        return apiId;
    }

    public void setApiId(String apiId) {

        this.apiId = apiId;
    }

    public String getApiName() {

        return apiName;
    }

    public void setApiName(String apiName) {

        this.apiName = apiName;
    }

    
    /**
     * @return the packageStructure
     */
    public String getPackageStructure() {
    
        return packageStructure;
    }

    
    /**
     * @param packageStructure the packageStructure to set
     */
    public void setPackageStructure(String packageStructure) {
    
        this.packageStructure = packageStructure;
    }
}
